package com.lmt.ymcc.dto;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @Description: TODO
 * @Author: Amazing
 * @Date: 2022/8/27 20:30
 * @Version: 1.0
 */
@Data
public class LoginDto {

    @NotEmpty(message = "用户名不能为空!!")
    private String username;
    @NotEmpty(message = "密码不能为空!!")
    private String password;
    @NotNull(message = "类型不能为空!!")
    private Integer type ;
}
